package pers.wangyu.crawler;

import java.util.ArrayList;
import pers.wangyu.crawler.parse.ParseDoubanHtml;

/**
 * main方法测试
 *
 * @author wangyu
 * @Date 2018-05-05 23:59
 */
public class TestMain {

  public static void main(String[] args) {
    ArrayList<String> bookUrls = new ArrayList<>();
    ParseDoubanHtml pd = new ParseDoubanHtml();
    //抓取豆瓣读书编程URL
    bookUrls = pd.downloadBookUrl("编程");

    //解析书本信息
    pd.getBookInfo(bookUrls);
  }
}
